package com.example.myproject.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

@Data
public class UserInfoVO {
    @JsonProperty("user_id")
    @ApiModelProperty("用户ID")
    private Long userId;
    @JsonProperty("user_name")
    @ApiModelProperty("用户名")
    private String userName;
    @JsonProperty("email")
    private String email;
    @JsonProperty("avatar")
    @ApiModelProperty("头像URL")
    private String avatarUrl;
    @JsonProperty("bio")
    private String bio;
    @JsonProperty("role")
    private String role;
    @JsonProperty("user_status")
    private String userStatus;
    @JsonProperty("created_time")
    private String createdTime;
    @ApiModelProperty("用户等级")
    private Integer level;


    // Getters and Setters
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
